Class ARPEntryImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.impl.ARPEntryImpl
All Implemented Interfaces:
IPCData, ARPEntry

public class ARPEntryImpl extends IPCDataImpl implements ARPEntry
  • Field Details

    • ipAddress

      protected IPAddress ipAddress
    • macAddress

      protected MACAddress macAddress
    • portName

      protected String portName
  • Constructor Details

    • ARPEntryImpl

      public ARPEntryImpl()
  • Method Details

    • getIpAddress

      public IPAddress getIpAddress()
      Specified by:
      getIpAddress in interface ARPEntry
      Returns:
      IPAddress Returns a IPAddress
    • setIpAddress

      public void setIpAddress(IPAddress ipAddress)
      Specified by:
      setIpAddress in interface ARPEntry
      Parameters:
      ipAddress - Takes in a parameter of ipAddress
    • getMacAddress

      public MACAddress getMacAddress()
      Specified by:
      getMacAddress in interface ARPEntry
      Returns:
      MACAddress Returns a MACAddress
    • setMacAddress

      public void setMacAddress(MACAddress macAddress)
      Specified by:
      setMacAddress in interface ARPEntry
      Parameters:
      macAddress - Takes in a parameter of macAddress
    • getPortName

      public String getPortName()
      Specified by:
      getPortName in interface ARPEntry
      Returns:
      String Returns a String
    • setPortName

      public void setPortName(String portName)
      Specified by:
      setPortName in interface ARPEntry
      Parameters:
      portName - Takes in a parameter of portName
    • read

      public void read(EncodedBuffer buffer)
      Reads this object from an EncodedBuffer of raw data
      Specified by:
      read in interface IPCData
      Specified by:
      read in class IPCDataImpl
      Parameters:
      buffer - The EncodedBuffer that contains the raw data from which to construct this object